package com.heima.common.constants;

public class ArticleConstants {
    /**
     * es同步数据的topic
     */
    public static final String ARTICLE_ES_SYNC_TOPIC = "article.es.sync.topic";


    public static final Integer HOT_ARTICLE_LIKE_WEIGHT = 3;
    public static final Integer HOT_ARTICLE_COMMENT_WEIGHT = 5;
    public static final Integer HOT_ARTICLE_COLLECTION_WEIGHT = 8;
    /**
     * redis缓存热点文章的key的前缀
     */
    public static final String HOT_ARTICLE_FIRST_PAGE = "hot_article_first_page_";

    public static final String TUIJIAN_KEY_SUFFIX="__all__";

}